package com.example.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "用户请求对象---管理员")
public class UserAdmReqVO {

    @Schema(description = "用户ID")
    private Long id;

    @Schema(description = "用户角色")
    @NotBlank(message = "角色不能为空")
    private String role;
    @Schema(description = "用户密码")
    private String password;
    /**
     * 姓名
     */
    @NotBlank(message = "昵称不能为空")
    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    /**
     * 年龄
     */
    @NotNull(message = "年龄不能为空")
    @Schema(description = "用户年龄", example = "25")
    private Integer age;

    /**
     * 性别 男 1 女 2 不详 3
     */
    @NotNull(message = "性别不能为空")
    @Schema(description = "用户性别", example = "1")
    private Integer gender;
    /**
     * 完整地址
     */
    @Schema(description = "用户完整地址")
    private String address;

    /**
     * 头像
     */
    @Schema(description = "用户头像")
    private String avatar;

    /**
     * 手机
     */
    @NotBlank(message = "手机号不能为空")
    @Schema(description = "用户手机号码")
    private String phone;

    @Schema(description = "用户状态 0 禁用 1 启用")
    private Boolean status;
    /**
     * 邮箱
     */
    @Schema(description = "用户邮箱")
    @NotBlank(message = "邮箱不能为空")
    private String email;

    /**
     * 备注
     */
    @Schema(description = "备注信息")
    private String remark;
}
